- 
		Home
	
 
	- 
Really Simple Security – Simple and Performant Security (formerly Really Simple SSL)
 
- 
9.5.3 (latest)
 
- 
Code
 
- 
Classes
 
-  Rsssl_Two_Factor_Email 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											71 | 
										
																			
											| Dependencies | 
											5 | 
										
																			
											| Dependents | 
											3 | 
										
																	
							 
													
								
																			
											| Total lines | 
											610 | 
										
																			
											| Lines of code | 
											301 | 
										
																			
											| Logical lines of code | 
											149 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											201 | 
										
																			
											| Methods | 
											28 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 28
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| authentication_page() | 
									A  | 
																	44 | 
													9 | 
													47 | 
							
					
				| is_enabled() | 
									A  | 
																	53 | 
													8 | 
													22 | 
							
					
				| generate_and_email_token() | 
									S  | 
																	42 | 
													4 | 
													55 | 
							
					
				| get_selection_option() | 
									S  | 
																	50 | 
													5 | 
													25 | 
							
					
				| is_optional() | 
									S  | 
																	59 | 
													4 | 
													14 | 
							
					
				| validate_token() | 
									S  | 
																	61 | 
													4 | 
													12 | 
							
					
				| ensure_session_started() | 
									S  | 
																	72 | 
													4 | 
													5 | 
							
					
				| get_user_token() | 
									S  | 
																	68 | 
													3 | 
													7 | 
							
					
				| pre_process_authentication() | 
									S  | 
																	68 | 
													3 | 
													7 | 
							
					
				| validate_authentication() | 
									S  | 
																	68 | 
													3 | 
													7 | 
							
					
				| get_instance() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| user_has_token() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| user_token_has_expired() | 
									S  | 
																	72 | 
													2 | 
													5 | 
							
					
				| user_token_lifetime() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| maybe_show_email_resend_notice() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| user_options() | 
									S  | 
																	62 | 
													1 | 
													15 | 
							
					
				| is_forced() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| __construct() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| start_controller() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| get_label() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| generate_token() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| user_token_ttl() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| delete_token() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| is_available_for_user() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| set_user_status() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| is_configured() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| get_status() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| reset_meta_data() | 
									S  | 
																	65 | 
													1 | 
													9 |